import request from '@/utils/request'

// 查询驾校列表
export function listSchool(query) {
    return request({
        url: '/school/manager/list',
        method: 'get',
        params: query
    })
}
// 查询驾校详情
export function schoolDetail(schoolId) {
    return request({
        url: '/school/manager/schoolDetail',
        method: 'get',
        params: { schoolId: schoolId }
    })
}

// 添加学员授权数量
export function addImpower(query) {
    return request({
        url: '/school/manager/addImpower',
        method: 'get',
        params: query
    })
}

